package com.qd.pay.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;


/**
 * 天府银行订单
 *
 * @author sjk
 */
@Getter
@Setter
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("sys_order_tf")
public class OrderTf extends Model<OrderTf> implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "order_id", type = IdType.ASSIGN_ID)
    private String orderId;
    /**
     * 服务商号
     */
    @TableField("partner")
    private String partner;
    /**
     * 特约商户号
     */
    @TableField("sub_partner")
    private String subPartner;
    /**
     * 天府支付在渠道的商户订单号
     */
    @TableField("pay_transno")
    private String payTransno;
    /**
     * 付款服务方
     */
    @TableField("bank_type")
    private String bankType;
    /**
     * 支付渠道
     */
    @TableField("trans_channel")
    private String transChannel;

    public void freeData() {
        this.orderId = null;
        this.partner = null;
        this.subPartner = null;
        this.payTransno = null;
        this.bankType = null;
        this.transChannel = null;
    }

}
